﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MAMODEL;
using MABLL;
using Microsoft.AspNetCore.Http;

namespace MiniAccountBook.Controllers
{
    public class LoginModel : Controller
    {
        private LoginUser loginUser;
        public IActionResult Index()
        {
            loginUser = new LoginUser();
            return View(loginUser);
        }

        [HttpPost]
        public void PostData()
        {
            string username = Request.Form["username"];
            string password = Request.Form["password"];
            string yzm = Request.Form["yzm"];



        }

        [HttpGet]
        public string PostData1()
        {
            return "123";



        }
    }
}